<template>
  <div class="p-4">
    <el-card>
      <template #header>
        <div class="flex justify-between items-center">
          <span>库存管理</span>
          <el-button type="primary">入库</el-button>
        </div>
      </template>
      <el-table :data="[]">
        <el-table-column label="商品编号" prop="id" />
        <el-table-column label="商品名称" prop="name" />
        <el-table-column label="库存数量" prop="quantity" />
        <el-table-column label="更新时间" prop="updateTime" />
        <el-table-column label="操作" width="200">
          <template #default>
            <el-button link type="primary">详情</el-button>
            <el-button link type="warning">调整库存</el-button>
          </template>
        </el-table-column>
      </el-table>
    </el-card>
  </div>
</template> 